package com.sky.loveshop.service;

import com.github.pagehelper.PageInfo;
import com.sky.loveshop.entity.Category;
import com.sky.loveshop.entity.qo.CategoryQO;

import java.util.List;

/**
 * @author xcy
 * @version V1.0
 * @description
 * @date 2024/8/18 0:05
 */
public interface CategoryService {

    List<Category> listCategory(CategoryQO categoryQO);

    PageInfo<Category> listCategoryPages(CategoryQO categoryQO);

    Category getCategoryById(Integer id);

    Integer addCategory(Category category);

    Integer delCategoryById(Integer id);

    Integer updateCategoryById(Category category);

    List<Category> getCategoryListByIds(List<Integer> shopIds);
}
